package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverRegistrationInfoSate {
    under_review(0, "审核中"),
    adopt(1, "通过"),
    noadopt(2, "驳回"),
    refuse(3, "拒绝"),
    abolish(4, "废除");

    @EnumValue
    private final int code;
    private final String desc;

    DriverRegistrationInfoSate(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public int getCode() {
        return code;
    }
}
